package compound.pattern;import compound.goose.Goose;/** * Created by Administrator on 2018-11-8. * 加入鹅的适配器 */public class GooseAdapter implements Quackable {    Goose goose;    public GooseAdapter(Goose goose){        this.goose =goose;    }    public void quack() {      goose.honk();    }    public void registerObserver(Observer observe) {    }    public void notifyObservers() {    }}